<?php
namespace app\index\controller;
use think\Request;
use think\Controller;
use think\Db;
class Index extends Controller
{
    public $notice;
    public function _initialize()
    {




    }
    public function index()
    {
<<<<<<< HEAD
        $this->assign('name',session('name'));
        $this->assign('touxiang',session('touxiang'));
        $this->assign('role',session('role'));
       return $this->fetch();	
=======
    	//dump(Db::name('user')->select());
       return $this->fetch();
    	
>>>>>>> 30d92055e9c414d4b857afd0613e979a055c3b0c
    }
    //提示信息
    public function notice(Request $request)
    {
        $data = $request->get()['status'];
        $address = $request->get()['url'];
        $this->assign('notice', $data);
        $this->assign('address',$address);
    	return  $this->fetch();
    }
   
}
